package com.masterrabbit.gmh.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("emergency_rescue_records")
public class EmergencyRescueRecords {

/*
*   rescue_id INT AUTO_INCREMENT PRIMARY KEY COMMENT 'ID（自增）',
    rescue_number VARCHAR(36) COMMENT '编号（UUID）',
    status INT COMMENT '状态',
    user_id INT COMMENT 'userID（用户）',
    vehicle_type INT COMMENT '车型',
    rescue_type INT COMMENT '救援类型',
    license_plate VARCHAR(20) COMMENT '车牌号',
    contact_info VARCHAR(100) COMMENT '求助人联系方式',
    starting_location VARCHAR(255) COMMENT '位置（起点）',
    requester_name VARCHAR(100) COMMENT '求助人姓名',
    ending_location VARCHAR(255) COMMENT '（终点）',
    created_at DATETIME COMMENT '创建时间',
    merchant_id INT COMMENT 'userID（接受救援的商家ID）'*/
    @TableId(value = "rescue_id",type = IdType.AUTO)
    private Integer rescueId;
    private String rescueNumber;
    private Integer status;
    private Integer userId;
    private Integer vehicleType;
    private Integer rescueType;
    private String licensePlate;
    private String contactInfo;
    private String startingLocation;
    private String requesterName;
    private String endingLocation;
    private String createdAt;
    private Integer merchantId;

}
